<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>课程</title>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <link rel="stylesheet" href="/ztree/css/metroStyle.css">
    <script src="/jquery/jquery-3.2.1.min.js"></script>
    <script src="/layui/layui.js"></script>
    <script src="/ztree/js/jquery.ztree.core.min.js"></script>
    <style>
        #box{
            margin-left: 10px;
            margin-right: 10px;
        }
        .layui-elem-quote {
            height: 32px;
            line-height: 32px;
        }

        .layui-card-header {
            border-bottom: 1px solid rgb(230, 230, 230);
            background-color: rgb(243, 243, 243);
        }

        .layui-form-label {
            padding: 9px 5px;
            width: 90px;
        }

        .layui-form-item .layui-input-inline {
            width: 140px;
        }
        .layui-inline{
            float: left;
        }
        .search {
            margin-left: 72px;
        }

        .layui-table-view .layui-table[lay-size=lg] .layui-table-cell {
            height: inherit;
            line-height: 28px;
        }
        div#rMenu {
            position: fixed;
            visibility: hidden;
            top: 0;
            background-color: #fff;
            text-align: left;
            border: 1px solid #c9caca;
            box-shadow: 0 0 2px #c9caca;
            padding: 2px 0;
            z-index: 999;
        }

        div#rMenu ul li {
            margin: 1px 0;
            padding: 0 5px;
            cursor: pointer;
            list-style: none;
            height: 30px;
            background-color: #fff;

        }

        div#rMenu ul li:hover {
            background: #ddd;
        }


    </style>
</head>
<body>
<div id="box">
    <div class="layui-row">
        <div class="layui-elem-quote">
            <div id="courseTable" style="font-size: 18px;float: left">课程列表</div>
            <div style="float: right">
                <button class="layui-btn" onclick="javascript:Refresh();"><i class="layui-icon layui-icon-refresh"></i>刷新
                </button>
                <button class="layui-btn" onclick="javascript:goBack();"><i class="layui-icon layui-icon-left"></i>返回
                </button>
            </div>
        </div>
    </div>
    <div style="margin-bottom: 8px">
            <button id="buttons1" class="layui-btn layui-btn-primary buttons" type="reset" onclick="javascript:gCha();">
                全部课程
            </button>
            <button id="buttons2" class="layui-btn layui-btn-primary buttons" type="reset" onclick="javascript:shangJia();">
                已上架
            </button>
            <button id="buttons3" class="layui-btn layui-btn-primary buttons" type="reset" onclick="javascript:weiJia();">
                未上架
            </button>
            <button id="buttons4" class="layui-btn layui-btn-primary buttons" type="button" onclick="javascript:dShen();">
                待审核
            </button>
            <button id="buttons5" class="layui-btn layui-btn-primary buttons" type="button" onclick="javascript:Bhui();">
                未通过
            </button>
        </div>
    <div class="layui-row">
        <div class="layui-row">
            <div class="layui-card">
                <div class="layui-card-header">
                    <h3 style="float: left"><i class="layui-icon layui-icon-search"></i>筛选查询</h3>
                    <button style="float: right" class="layui-btn" onclick="retrieval()">高级检索</button>
                </div>
                <div class="layui-card-body">
                    <form class="layui-form">
                        <div class="layui-form-item">
                            <div style="float: left">
                                <div class="layui-inline">
                                    <label class="layui-form-label">输入搜索：</label>
                                    <div class="layui-input-inline">
                                        <input class="layui-input" type="text" placeholder="请输入课程名称" name="productName">
                                    </div>
                                </div>
                                <div class="layui-inline search">
                                    <label class="layui-form-label">课程分类：</label>
                                    <div class="layui-input-inline" id="sot"></div>
                                </div>
                                <div class="layui-inline search">
                                    <label class="layui-form-label">课程价格：</label>
                                    <div class="layui-input-inline">
                                        <input class="layui-input" type="text" id="" placeholder="请输入课程价格" name="courseNprice">
                                    </div>
                                </div>
                            </div>
                            <div class="layui-inline search" style="float: right;margin-right: 0px">
                                <button class="layui-btn" type="button" lay-submit lay-filter="search" onclick="javascript:search();"><i
                                        class="layui-icon layui-icon-search"></i>搜索
                                </button>
                                <button class="layui-btn layui-btn-danger" type="reset"><i
                                        class="layui-icon layui-icon-refresh"></i>重置
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-col-md2">
            <ul id="ztree" class="ztree"></ul>
        </div>
        <div class="layui-col-md10">
            <table class="layui-table" id="table" style="float: right"></table>
        </div>
    </div>
    `
    <div id="toptool" class="layui-hide">
        <p class="layui-icon" style="float: left">&#xe649; 数据列表</p>
        <div style="float: right">
            <button class="layui-btn layui-icon layui-icon-upload-circle" onclick="javascript;"> 导入</button>
            <button class="layui-btn"><a href="#" onclick="addProduct()" style="color: #FFFFFF"
                                         class="layui-icon layui-icon-add-circle"> 添加</a></button>
        </div>
    </div>
    <input type="hidden" name="createId" value="">
    <input type="hidden" name="updateId" value="">
    <input type="hidden" name="jsProduct" value="">
</div>
<div id="rMenu">
    <ul>
        <li id="m_add" onclick="addTreeNode();">增加节点</li>
        <li id="m_del" onclick="removeTreeNode();">删除节点</li>
        <li id="m_edit" onclick="edit();">编辑节点</li>
    </ul>
</div>
    <script type="text/javascript" src="/js/course/course-list.js"></script>

</body>
</html>